<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
        <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
        <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
        <link rel="stylesheet" href="../../css/register.css">
        <title>SDAU_master | Register</title>
    </head>

    <body>
        <div class="register_bg">

            <div class="black_bg">

                <ul class="nav nav-tabs">
                    <li role="presentation" class="active"><a href="/regist/page">注册</a></li>
                    <li role="presentation"><a href="/login/index">登录</a></li>
                </ul>

                <div class="logo">
                    <h2>SDAU-master</h2>
                    <h3>注册</h3>
                </div>

                <form class="form-horizontal" action="/regist/user">

                    <div class="form-group">
                        <label class="col-sm-2 control-label">用户名</label>
                        <div class="col-sm-9">
                            <input type="text" name="username" class="form-control" id="inputuUsername" placeholder="username">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-2 control-label">密码</label>
                        <div class="col-sm-9">
                            <input type="password" name="password" class="form-control" id="inputPassword" placeholder="password">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-2 control-label">专业</label>
                        <div class="col-sm-9">
                            <input type="password" name="major" class="form-control" id="inputMajor" placeholder="major">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-2 control-label">生日</label>
                        <div class="row">
                            <div class="col-xs-3">
                                <input type="text" name="year" class="form-control" placeholder="year">
                                <div class="date">年</div>
                            </div>
                            <div class="col-xs-3">
                                <input type="text" name="month" class="form-control" placeholder="month">
                                <div class="date">月</div>
                            </div>
                            <div class="col-xs-3">
                                <input type="text" name="day" class="form-control" placeholder="day">
                                <div class="date">日</div>
                            </div>
                        </div>
                    </div>

                    <div class="sexdiv">
                        <div class="radio">
                            <label>
                                <input type="radio" name="sex" id="optionsRadios1" value="male" checked>
                                男
                            </label>
                        </div>
                        <div class="radio">
                            <label>
                                <input type="radio" name="sex" id="optionsRadios2" value="female">
                                女
                            </label>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-2 control-label">个人简介</label>
                        <div class="col-sm-9">
                            <textarea name="introduce" class="form-control" rows="3" placeholder="在这里填写你的个人介绍吧（。＾▽＾）"></textarea>
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="btn-register">
                            <button type="submit" class="btn btn-success">注册</button>
                        </div>
                    </div>
                </form>

            </div>
        </div>

        <script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js" integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ" crossorigin="anonymous"></script>
        <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
        <script src="https://unpkg.com/element-ui/lib/index.js"></script>
        <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
    </body>
</html>
